<script src="../view/admin/js/module_page.js" type="text/javascript"></script>
<script src="../view/admin/js/tiny_mce/tiny_mce.js" type="text/javascript"></script>
<script src="../view/admin/js/editor.js" type="text/javascript"></script>
{if $EXISTED != NULL}
	{include file="BgcmsContentManager/edit_page.tpl"}	
{else}
	{include file="BgcmsContentManager/add_page.tpl"}
{/if}
<!--<div class="wrap">
	<h2>Assign Page</h2>
	<form name="assign" id="assign" method="post" action="?{$smarty.server.QUERY_STRING}">
		<input type="hidden" id="act" name="act" value="assign_page"/>
        <input type="hidden" name="catid" value="{$smarty.get.catid}"/>
		<input type="hidden" id="cat_id" name="cat_id" value="{$smarty.get.id}"/>
				<div class="box">
					<div class="box-content">
						<table width="100%">
						<tr style="background-color:#DDD">
							<th scope="col" style="text-align: left">{TranslateTag}B_LABEL_NAME{/TranslateTag}</th>
							<th scope="col" style="text-align: center">Category</th>
						</tr>
                        <tr class="{cycle values=,alternate}">
			  				<td width="60%">
								<label>
									<input {$item->active} type="radio" id="page_cat" name="page_id" value=""/>
									None
								</label>
							</td>
							<td style="text-align: center" width="40%">
								{$item->cat_name}
							</td>
						</tr>
		  				{foreach name=cat from=$ALLPAGES item=item}
		  				<tr class="{cycle values=,alternate}">
			  				<td width="60%">
								<label>
									<input {$item->active} type="radio" id="page_cat" name="page_id" value="{$item->page_id}"/>
									{$item->page_name}
								</label>
							</td>
							<td style="text-align: center" width="40%">
								{$item->cat_name}
							</td>
						</tr>
						{/foreach}
						</table>
					</div>
				</div>
	<p class="submit" align = "right">
		<input type="image" name="submit" src="../view/admin/images/object_save.png" value="" />
	</p>
	</form>
</div>-->
